/*
 * Copyright (c) 2020-2099 the original author or authors. All rights reserve.
 */
package org.tianyun.cloud.security.token.enhance;

import java.security.Principal;

/**
 * token密匙增强
 *
 * @auther ebert_chan
 */
public interface TokenSecretEnhance {

    /**
     * 获取随机密码串
     *
     * @param principal
     * @return
     * @auther ebert_chan
     */
    String getRandomKey(Principal principal);

}
